package com.jqb.jsplab.dao.factory;

import com.jqb.jsplab.dao.proxy.StudentDaoProxy;
import com.jqb.jsplab.dao.proxy.TestDaoProxy;
import com.jqb.jsplab.util.DBConnection;


public class DaoFactory {
	public static StudentDaoProxy getInstanceStudentDaoProxy()throws Exception{
		StudentDaoProxy studentdaoproxy = new StudentDaoProxy();
		return studentdaoproxy;
	}
	public static TestDaoProxy getInstanceTestDaoProxy()throws Exception{
		TestDaoProxy testdaoproxy = new TestDaoProxy();
		return testdaoproxy;
	}
	public static DBConnection getDBConnection() throws Exception{
		DBConnection dbc = new DBConnection();
		return dbc;
	}
}
